package org.example.crop.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName t_check_log
 */
@TableName(value ="t_check_log")
@Data
public class CheckLog implements Serializable {
    /**
     * 
     */
    @Excel(name = "id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @Excel(name = "农作物id")
    private String cropId;

    /**
     * 
     */
    @Excel(name = "数量")
    private Integer num;

    /**
     * 0入库 1出库
     */

    private String status;
    @Excel(name = "备注")
    private String remark;

    /**
     * 
     */
    private Integer marketId;
    /**
     *
     */
    @Excel(name = "要盘点的数量")
    private Integer countNum;
    private Integer flag;

    /**
     *
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @Excel(name = "入库时间")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    @TableField(exist = false)
    private String cropname;
    @TableField(exist = false)
    private String marketname;

    @TableField(exist = false)
    private Integer inCount;
    @TableField(exist = false)
    private Integer outCount;


}